﻿using System;
using System.Collections.Generic;
using System.Text;

namespace StatusPattern
{
    /// <summary>
    /// 电流基类
    /// </summary>
    public abstract class BaseElectric
    {

        //状态
        public ElectricType ElectricStatus { get; set; }


        public abstract void Turn(Context  context);



        public abstract void Run();

    }


    public enum ElectricType
    {
        open=1,
        close= 2
    }

}
